<template>
  <div>
    <img :src="imgurl" alt="" />
    <p>{{ name }}</p>
  </div>
</template>

<script>
export default {
  props: ["imgurl", "name"],
};
</script>

<style  scoped>
div {
  width: 400px;
  height: 300px;
  border: 1px solid black;
  text-align: center;
  float: left;
}
img {
  width: 100%;
  height: 80%;
}
</style>>
